package com.xnyzc.lhy.mis.service.impl;

import com.xnyzc.lhy.common.entity.Qw;
import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.mis.entity.system.OaSysNation;
import com.xnyzc.lhy.mis.mapper.system.OaSysNationMapper;
import com.xnyzc.lhy.mis.service.sys.OaSysNationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OaSysNationImpl implements OaSysNationService {
    @Autowired
    private OaSysNationMapper oaSysNationMapper;
    @Override
    public Rv getNation() {
        List<OaSysNation> list = oaSysNationMapper.selectList(Qw.create());
        return Rv.wrap(list);
    }
}
